package com.pswv2.bub.bsc.dao.po;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

import com.pswv2.core.PO;
/**
 * 用户
 * @author linjiang
 *
 */
@Entity
@Table
public class User extends PO {
	public static final Integer super_user_yes = 1;
	public static final Integer super_user_no = 0;
	public static final Integer user_wait = 0;
	public static final Integer user_pass = 1;
	public static final Integer user_reject = 2;
	
	@Id
	@GeneratedValue(strategy = GenerationType.AUTO)
	@Column(unique = true, nullable = false)
	private Integer userId; 		//用户Id
	private Integer roleId; 		//用户Id
	private Integer memberId;		//权限id
	private String account; 		//用户账号
	private String password; 		//用户密码
	private String name; 			//姓名
	private String sex;				//用户性别
	private String degree;		    //学历
	private String carded;			//身份证֤
	private String height;			//身高
	private String weight;			//体重
	private String age;				//年龄
	private String interest;		//爱好
	private String strongPoint;		//特长
	private String workAddress;		//工作地点
	private String workOccupation;	//工作职业
	private String passwordQuestion;//安全问题
	private String passwordKey;		//安全答案
	private Integer creditValue;	//行用值满分100分
	private Integer degreeOSSign;	//满意度标记记录满意程度
	private String other;			//其他
	private Integer voice;			//语音设置
	private double points;			//积分
	private Integer statue;			//0待审核，1已同过，2未通过
	private Integer logonstatue;	//0未在手机登录，1已在一个手机上登录
	private String phoneId;			//手机id
	
	
	@Override
	public Serializable getId() {
		return userId;
	}
	public Integer getUserId() {
		return userId;
	}
	public void setUserId(Integer userId) {
		this.userId = userId;
	}
	
	public double getPoints() {
		return points;
	}
	public void setPoints(double points) {
		this.points = points;
	}
	public String getWorkAddress() {
		return workAddress;
	}
	public void setWorkAddress(String workAddress) {
		this.workAddress = workAddress;
	}
	public String getWorkOccupation() {
		return workOccupation;
	}
	public void setWorkOccupation(String workOccupation) {
		this.workOccupation = workOccupation;
	}
	public Integer getDegreeOSSign() {
		return degreeOSSign;
	}
	public void setDegreeOSSign(Integer degreeOSSign) {
		this.degreeOSSign = degreeOSSign;
	}
	public Integer getCreditValue() {
		return creditValue;
	}
	public void setCreditValue(Integer creditValue) {
		this.creditValue = creditValue;
	}
	public Integer getRoleId() {
		return roleId;
	}
	public void setRoleId(Integer roleId) {
		this.roleId = roleId;
	}
	public Integer getMemberId() {
		return memberId;
	}
	public void setMemberId(Integer memberId) {
		this.memberId = memberId;
	}
	
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getSex() {
		return sex;
	}
	public void setSex(String sex) {
		this.sex = sex;
	}
	public String getCarded() {
		return carded;
	}
	public void setCarded(String carded) {
		this.carded = carded;
	}
	public String getHeight() {
		return height;
	}
	public void setHeight(String height) {
		this.height = height;
	}
	public String getWeight() {
		return weight;
	}
	public void setWeight(String weight) {
		this.weight = weight;
	}
	public String getAge() {
		return age;
	}
	public void setAge(String age) {
		this.age = age;
	}
	public String getInterest() {
		return interest;
	}
	public void setInterest(String interest) {
		this.interest = interest;
	}
	public String getAccount() {
		return account;
	}
	public void setAccount(String account) {
		this.account = account;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String passWord) {
		this.password = passWord;
	}
	public String getPasswordQuestion() {
		return passwordQuestion;
	}
	public void setPasswordQuestion(String passwordQuestion) {
		this.passwordQuestion = passwordQuestion;
	}
	public String getPasswordKey() {
		return passwordKey;
	}
	public void setPasswordKey(String passwordKey) {
		this.passwordKey = passwordKey;
	}
	public String getDegree() {
		return degree;
	}
	public void setDegree(String degree) {
		this.degree = degree;
	}
	public String getOther() {
		return other;
	}
	public void setOther(String other) {
		this.other = other;
	}
	public String getStrongPoint() {
		return strongPoint;
	}
	public void setStrongPoint(String strongPoint) {
		this.strongPoint = strongPoint;
	}
	public Integer getVoice() {
		return voice;
	}
	public void setVoice(Integer voice) {
		this.voice = voice;
	}
	public Integer getStatue() {
		return statue;
	}
	public void setStatue(Integer statue) {
		this.statue = statue;
	}
	public Integer getLogonstatue() {
		return logonstatue;
	}
	public void setLogonstatue(Integer logonstatue) {
		this.logonstatue = logonstatue;
	}
	public String getPhoneId() {
		return phoneId;
	}
	public void setPhoneId(String phoneId) {
		this.phoneId = phoneId;
	}
	
}
